package com.cjf.weather.weatherdata.service;


import com.cjf.weather.weatherdata.vo.WeatherResponse;

public interface WeatherDataService {

    /**
     * 通过城市id获取天气信息
     *
     * @param cityId
     * @return
     */
    public WeatherResponse getDataByCityId(String cityId);

    /**
     * 通过城市名字获取天气信息
     *
     * @param name
     * @return
     */
    public WeatherResponse getDataByCityName(String name);


}
